const {processFile} = require("./process");
const file = require.resolve('./validate.js');

function validateSpawn(captchaId, referer, ua, cookies, jsContent, html, traceId, callback) {
    processFile(file, callback, captchaId, referer, ua, cookies, jsContent, html, traceId);
}


module.exports = {
    akamaiValidateSpawn: validateSpawn
}